﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:local="clr-namespace:SSMEPlayer"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:mwab="clr-namespace:Microsoft.WebAnalytics.Behaviors;assembly=Microsoft.WebAnalytics.Behaviors" xmlns:ssme="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming" xmlns:mwassme="clr-namespace:Microsoft.WebAnalytics.Media;assembly=Microsoft.WebAnalytics.SSME" x:Class="SSMEPlayer.MainPage"
    d:DesignWidth="640" d:DesignHeight="480">
  <Grid x:Name="LayoutRoot">
  	<i:Interaction.Behaviors>
            <local:DebugService/>
        </i:Interaction.Behaviors>
    <!-- The Player.SmoothStreamingSource is set in the App.xaml.cs Application_Startup event handler. -->
  	<ssme:SmoothStreamingMediaElement x:Name="Player"  Margin="8" AutoPlay="True" CanSeek="True">
  		<i:Interaction.Behaviors>
  			<mwassme:TrackSmoothStreamingMediaElement/>
  		</i:Interaction.Behaviors>
  	</ssme:SmoothStreamingMediaElement>

  </Grid>
</UserControl>
